/**
 * create by young (young2f@outlook.com) on 2020/8/16
 */
'use strict';
module.exports = app => {
  const { router, controller } = app;
  router.post('/api/customer/create', controller.customer.createCustomer);
  router.post('/api/customer/update', controller.customer.updateCustomer);
  router.post('/api/customer/delete', controller.customer.deleteCustomer);
  router.post('/api/customer/find/many', controller.customer.findManyCustomer);
  router.post('/api/customer/find/detail', controller.customer.findCustomerDetail);
  //router.post('/api/customer/find', controller.customer.findOne);
};
